package cm.com.carlamanda.service;

import java.util.List;

import cm.com.carlamanda.domain.Interface;
import cm.com.carlamanda.domain.Page;
import cm.com.carlamanda.dto.InterfaceDto;

public interface InterfaceService {
    InterfaceDto get(String id);

    List<InterfaceDto> search(InterfaceDto inter,Page page);

    int edit(Interface inter);

    int add(Interface inter);

    int del(String id);

    void linkModule(String moduleId, String interfaceId);
    
    void batchAddInterface(List<Interface> list);

    void batchAddParam(Interface inter);
}
